﻿#include "MainWindow.h"
#include "ui_MainWindow.h"


#include <QDebug>


MainWindow::MainWindow(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::MainWindow)
{
    ui->setupUi(this);

    connect(ui->actDrawTriangle, &QAction::triggered, this, &MainWindow::SltDrawTriangle);
    connect(ui->actDrawRect, &QAction::triggered, this, &MainWindow::SltDrawRectangle);
}

MainWindow::~MainWindow()
{
    delete ui;
}

void MainWindow::SltDrawTriangle()
{
    qDebug() <<Q_FUNC_INFO;
}

void MainWindow::SltDrawRectangle()
{
    qDebug() <<Q_FUNC_INFO;
}
